//package com.plian.system.service.tb.impl;
//
//import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
//import com.plian.Tools.CollectionUtil;
//import com.plian.system.entity.tb.TopicImplementDetail;
//import com.plian.system.entity.tb.TripleEventDetail;
//import com.plian.system.mapper.tb.TopicImplementDetailMapper;
//import com.plian.system.mapper.tb.TripleEventDetailMapper;
//import com.plian.system.mybatis.base.BaseServiceImpl;
//import com.plian.system.service.sys.file.FileService;
//import com.plian.system.service.tb.ITopicImplementDetailService;
//import com.plian.system.service.tb.ITripleEventDetailService;
//import lombok.AllArgsConstructor;
//import org.springframework.stereotype.Service;
//
//import java.util.List;
//import java.util.Optional;
//import java.util.stream.Collectors;
//
///**
// * @Author: Take-off
// * @Description: TODO 事项明细
// * @Date: 2022/12/28 2:12 PM
// * @Version: 1.0
// **/
//@Service
//@AllArgsConstructor
//public class TopicImplementDetailServiceImpl extends BaseServiceImpl<TopicImplementDetailMapper, TopicImplementDetail> implements ITopicImplementDetailService {
//
//
//    @Override
//    public boolean deleteByParentId(List<Long> ids) {
//        LambdaQueryWrapper<TopicImplementDetail> queryWrapper = new LambdaQueryWrapper<>();
//        queryWrapper.in(TopicImplementDetail::getBaseImplementId, ids);
//        List<TopicImplementDetail> implementDetails = list(queryWrapper);
//        if (CollectionUtil.isNotEmpty(implementDetails)){
//            return deleteLogic(implementDetails.stream().map(TopicImplementDetail::getId).collect(Collectors.toList()));
//        }
//        return true;
//    }
//
//}
